/*
 * Switcher.h
 *
 * Author: Samuel Queiroz
 */

#ifndef SWITCHER_H_
#define SWITCHER_H_

class Switcher
{

private:

	bool right;

public:

	inline void switch_()
	{
		this->right = !this->right;
	}

	inline bool isLeft()
	{
		return !right;
	}

	inline bool isRight()
	{
		return right;
	}

};

#endif
